using System;
using System.Collections.Generic;
using Engine.OldSerialization;

namespace RuthlessConquest {
    public class Z_PlayerLocationsMessage : Message {
        public class Serializer : ISerializer<Z_PlayerLocationsMessage> {
            public void Serialize(InputArchive archive, ref Z_PlayerLocationsMessage value) {
                archive.Serialize("PlayerLocations", ref value.PlayerLocations);
                archive.Serialize("PlayerAddresses", ref value.PlayerAddresses);
            }

            public void Serialize(OutputArchive archive, Z_PlayerLocationsMessage value) {
                archive.Serialize("PlayerLocations", value.PlayerLocations);
                archive.Serialize("PlayerAddresses", value.PlayerAddresses);
            }
        }

        public Dictionary<Guid, string> PlayerLocations = new();

        public Dictionary<Guid, string> PlayerAddresses = new();
    }
}